<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width,initial-scale=1.0">
        <link rel="icon" href="<%= BASE_URL %>favicon.ico">
        <!-- iconfont -->
        <link rel="stylesheet" href="//at.alicdn.com/t/font_2259411_2oiv7tqjg54.css">

        <!-- <title><%= webpackConfig.name %></title> -->
        <title><%=htmlWebpackPlugin.options.title%></title>
        <% if(process.env.NODE_ENV!=='development'){ %>
            <% htmlWebpackPlugin.options.cdns.forEach(function(item){ if(item.js){ %>
                <script type="text/javascript" src="<%= item.js %>"></script>
            <% } }) %>
        <% } %>  

        <script>
            // 全局配置，打包后仍可修改
            window._CONFIG = {};
            window._CONFIG['domainURL'] = 'http://127.0.0.1:8888';
            window._CONFIG['wsURL'] = 'ws://127.0.0.1:8888/ws';
          </script>
    </head>
    <body>
            <noscript>
                <strong>We're sorry but <%= webpackConfig.name %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
            </noscript>
            <div id="app"></div>
            <!-- built files will be auto injected -->
    </body>
</html>
